home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 426-450 / disk_438 / menuc / s / mc next >
AmigaDOS Script File  |  1992-05-06  |  311b  |  18 lines

  1. .key infile/a,test/s
  2. if exists "<infile>.men"
  3.     MenuC <infile>.men <infile>.c <test>
  4. else 
  5.     echo "MC: File <infile>.men was not found*N"
  6.     quit 20
  7. endif
  8. ; modify here for your specific compiler
  9. ; below for SAS/C(r)
  10.  
  11. if "<test>" not eq ""
  12.     lc -L <infile>
  13.     <infile>        ; run the test program
  14. else
  15.     lc <infile>
  16. endif
  17.  
  18.